package com.ruoyi.system.service.impl;

import com.ruoyi.system.mapper.SeriesInfoMapper;
import com.ruoyi.system.service.ResultNotifyReq;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author hongwei
 * @Date 2021/3/22 17:14
 */
@javax.jws.WebService(serviceName = "ResultNotifyReq", targetNamespace="http://service.system.ruoyi.com/")
@Service
public class ResultNotifyReqImpl implements ResultNotifyReq {

    @Autowired
    private SeriesInfoMapper seriesInfoMapper;

    @Override
    @Transactional
    public int saveResults(String CSPID, String LSPID, String CorrelateID, String CmdResult, String ResultFileURL) {
        return  seriesInfoMapper.insertLogInfo(CSPID,LSPID,CorrelateID,CmdResult,ResultFileURL);
    }

}
